package org.jiajie.designpatterndemo.template;

/**
 * 如果我们要使用Redis做缓存，那么可以再写一个RedisSetting
 *
 * @author jay
 */
public class RedisSetting extends AbstractSetting {
//    private RedisClient client = RedisClient.create("redis://localhost:6379");
    @Override
    protected String lookupCache(String key) {
        return null;
    }

    @Override
    protected void putIntoCache(String key, String value) {

    }
}
